package com.cloudpark.service;

import java.util.Map;

import com.cloudpark.common.util.Pagination;
import com.cloudpark.model.entity.Estate;
import com.cloudpark.model.entity.EstateWechat;


public interface EstateService {

    Pagination queryEstateList(Map<String, String> params, int start, int length, Long estateId);

    Estate queryEstateById(Long id);
    
    Estate queryEstateByCode(String code);

    void saveOrUpdate(Estate estate);

	EstateWechat queryEstateWechatByDeveloperId(String developerId);

	EstateWechat queryEstateWechatByEstateId(Long estateId);

	EstateWechat queryEstateWechatById(Long id);
	
	EstateWechat queryEstateWechatByToken(String token);

	void saveOrUpdateWechat(EstateWechat estateWechat);

	String queryEstateOptions();
}
